#添加展示工作流接口
@app.route('/workfM',methods=['POST','GET'])
def workfM():
    if request.method == 'POST':
        #添加
        #data = get_data()
        sql = "insert into worktemp(name) values('%s')"%(data['name'])
        db1.update(sql)
        return js获取用户输入
        onify({"code":200})
    else:
        #展示
        sql = "select * from worktemp"
        res = db1.find_all(sql)
        return jsonify({"code":200,'list':res})